package mini.ideashare.cms.model;

import java.math.BigDecimal;
import java.util.Date;

public class User {

        //自增id
        private Long id;
        //微信openId
        private String openId;
        //用户名
        private String userName;
        //密码
        private String password;
        //头像
        private String userImage;
        //创建时间
        private Date createTime;
        //最后一次登录时间
        private Date lastLoginTime;

        public Long getId() {
                return id;
        }

        public User setId(Long id) {
                this.id = id;
                return this;
        }

        public String getOpenId() {
                return openId;
        }

        public User setOpenId(String openId) {
                this.openId = openId;
                return this;
        }

        public String getUserName() {
                return userName;
        }

        public User setUserName(String userName) {
                this.userName = userName;
                return this;
        }

        public String getPassword() {
                return password;
        }

        public User setPassword(String password) {
                this.password = password;
                return this;
        }

        public String getUserImage() {
                return userImage;
        }

        public User setUserImage(String userImage) {
                this.userImage = userImage;
                return this;
        }

        public Date getCreateTime() {
                return createTime;
        }

        public User setCreateTime(Date createTime) {
                this.createTime = createTime;
                return this;
        }

        public Date getLastLoginTime() {
                return lastLoginTime;
        }

        public User setLastLoginTime(Date lastLoginTime) {
                this.lastLoginTime = lastLoginTime;
                return this;
        }
}